menuitem

Purpose

A single choice in a Menupopup element. It acts much like a button but it is rendered on a menu. Default getZclass(): z-menu-item .Within ZK 5, the file upload has been redesigned so it can be integrated with any widget. For example, The toolbarbutton can now be used to upload a file. In addition to this, the display of the upload status has been enhanced and can be customized easily.

Examples

<z:menubar>
    <z:menu label="File">
        <z:menupopup>
            <z:menuitem label="New"/>
            <z:menuitem label="Open"/>
            <z:menuitem label="Save"/>
            <z:menuseparator/>
            <z:menuitem label="Exit"/>
        </z:menupopup>
    </z:menu>
    <z:menuitem label="Home"/>
</z:menubar>

Description

Attributes

ZK Official Reference

Component Reference

Show menuitem Component Reference

Java API

Show menuitem Java API